package com.ccp.dev.qbdms.model;

import com.ccp.dev.qbdms.annotation.IsAttachment;
import com.ccp.dev.qbdms.expimp.annotation.ExpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.FlowSubject;
import com.ccp.dev.qbdms.expimp.annotation.ImpAnnotation;
import com.ccp.dev.qbdms.expimp.annotation.Record;

import java.util.Date;
import java.util.List;

/**
 * 质量管理体系表 w_qbd_qualitymanage
 *
 * @author 王明亮
 * @date 2020-05-18 11:09:42
 */
@ImpAnnotation(description = "质量管理体系")
@ExpAnnotation(description = "质量管理体系")
@FlowSubject(subjectName = "质量管理体系")
public class WQbdQualitymanage extends BaseBusinessModel<WQbdQualitymanage> {


    private static final long serialVersionUID = 1L;

    private int count;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    /**
     * 主键
     */
    private String id;

    /**
     * 审核单位名称
     */
    @Record("审核项目名称")
    @ImpAnnotation(description = "审核项目名称", isRequired = true)
    @ExpAnnotation(description = "审核项目名称")
    private String audititemsname;
    /**
     * 审核单位名称
     */
    @Record("审核计划 ")
    @IsAttachment
    private String auditplan;
    /**
     * 审核单位名称
     */
    @Record("审核报告")
    @IsAttachment
    private String auditreport;

    /**
     * 备注
     */
    @Record("备注")
    private String fMemo;
    /**
     * 审核单位名称
     */
    @Record("审核单位名称")
    @ImpAnnotation(description = "审核单位名称", isRequired = true)
    @ExpAnnotation(description = "审核单位名称")
    private String fNameofauditinguni;
    /**
     * 受审单位名称
     */
    @Record("受审单位名称")
    @ExpAnnotation(description = "受审单位名称")
    private String fTrialunitname;
    /**
     * 受审单位ID
     */
    private String fTrialunitnameid;
    /**
     * 受审核部门名称
     */
    @Record("受审核部门名称")
    @ImpAnnotation(description = "受审核部门名称", isRequired = true)
    @ExpAnnotation(description = "受审核部门名称")
    private String fTrialdeptname;
    /**
     * 受审核部门ID
     */
    @ImpAnnotation(description = "受审核部门名称")
    private String fTrialdeptnameid;
    /**
     * 审核时间
     */
    @Record("审核时间")
    @ImpAnnotation(description = "审核时间", isRequired = true)
    @ExpAnnotation(description = "审核时间")
    private Date fAudittime;
    /**
     * 审核类型
     */
    @Record("审核类型")
    @ImpAnnotation(description = "审核类型", dicKey = "shlx", isRequired = true)
    @ExpAnnotation(description = "审核类型", dicKey = "shlx")
    private String fAudittype;
    /**
     * 不合格项性质
     */
    @Record("不合格项性质")
    @ImpAnnotation(description = "不合格项性质", dicKey = "bhgxxz", isRequired = true)
    @ExpAnnotation(description = "不合格项性质", dicKey = "bhgxxz")
    private String fUnqualifiednature;
    /**
     * 依据标准
     */
    @Record("依据标准")
    @ImpAnnotation(description = "依据标准", isRequired = true)
    @ExpAnnotation(description = "依据标准")
    private String fAccordingstandar;
    /**
     * 标准条款
     */
    @Record("标准条款")
//    @ImpAnnotation(description = "标准条款", isRequired = true)
//    @ExpAnnotation(description = "标准条款")
    private String fStandardclause;
    /**
     * 子标准条款
     */
    @Record("子标准条款")
//    @ImpAnnotation(description = "子标准条款")
//    @ExpAnnotation(description = "子标准条款")
    private String fSubstandardclauses;
    /**
     * 标准内容
     */
    @Record("标准内容")
//    @ImpAnnotation(description = "标准内容")
//    @ExpAnnotation(description = "标准内容")
    private String fStandardcontent;
    /**
     * 子标准内容
     */
    @Record("子标准内容")
//    @ImpAnnotation(description = "子标准内容")
//    @ExpAnnotation(description = "子标准内容")
    private String fSubstandardcontent;
    /**
     * 不合格事实描述
     */
    @Record("不合格事实描述")
//    @ImpAnnotation(description = "不合格事实描述")
//    @ExpAnnotation(description = "不合格事实描述")
    private String fDescriptionsubst;
    /**
     * 原因分析
     */
    @Record("原因分析")
//    @ImpAnnotation(description = "原因分析")
//    @ExpAnnotation(description = "原因分析")
    private String fCauseanalysis;
    /**
     * 纠正措施
     */
    @Record("纠正措施")
//    @ImpAnnotation(description = "纠正措施")
//    @ExpAnnotation(description = "纠正措施")
    private String fCorrectivemeasures;
    /**
     * 举一反三
     */
    @Record("举一反三")
//    @ImpAnnotation(description = "举一反三")
//    @ExpAnnotation(description = "举一反三")
    private String fCiteoneantithree;

    @Record("子表")
    @ExpAnnotation(description = "子表", isSubTable = true)
    public List<WQbdQualitymanageSu> wQbdQualitymanageSuList;

    private String runId;
    /**
     * 状态
     */
    private String fStatus;

    public List<WQbdQualitymanageSu> getwQbdQualitymanageSuList() {
        return wQbdQualitymanageSuList;
    }

    public void setwQbdQualitymanageSuList(List<WQbdQualitymanageSu> wQbdQualitymanageSuList) {
        this.wQbdQualitymanageSuList = wQbdQualitymanageSuList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getfNameofauditinguni() {
        return fNameofauditinguni;
    }

    public void setfNameofauditinguni(String fNameofauditinguni) {
        this.fNameofauditinguni = fNameofauditinguni;
    }

    public String getfTrialunitname() {
        return fTrialunitname;
    }

    public void setfTrialunitname(String fTrialunitname) {
        this.fTrialunitname = fTrialunitname;
    }

    public String getfTrialunitnameid() {
        return fTrialunitnameid;
    }

    public void setfTrialunitnameid(String fTrialunitnameid) {
        this.fTrialunitnameid = fTrialunitnameid;
    }

    public String getfTrialdeptname() {
        return fTrialdeptname;
    }

    public void setfTrialdeptname(String fTrialdeptname) {
        this.fTrialdeptname = fTrialdeptname;
    }

    public String getfTrialdeptnameid() {
        return fTrialdeptnameid;
    }

    public void setfTrialdeptnameid(String fTrialdeptnameid) {
        this.fTrialdeptnameid = fTrialdeptnameid;
    }

    public Date getfAudittime() {
        return fAudittime;
    }

    public void setfAudittime(Date fAudittime) {
        this.fAudittime = fAudittime;
    }

    public String getfAudittype() {
        return fAudittype;
    }

    public void setfAudittype(String fAudittype) {
        this.fAudittype = fAudittype;
    }

    public String getfUnqualifiednature() {
        return fUnqualifiednature;
    }

    public void setfUnqualifiednature(String fUnqualifiednature) {
        this.fUnqualifiednature = fUnqualifiednature;
    }

    public String getfAccordingstandar() {
        return fAccordingstandar;
    }

    public void setfAccordingstandar(String fAccordingstandar) {
        this.fAccordingstandar = fAccordingstandar;
    }

    public String getfStandardclause() {
        return fStandardclause;
    }

    public void setfStandardclause(String fStandardclause) {
        this.fStandardclause = fStandardclause;
    }

    public String getfSubstandardclauses() {
        return fSubstandardclauses;
    }

    public void setfSubstandardclauses(String fSubstandardclauses) {
        this.fSubstandardclauses = fSubstandardclauses;
    }

    public String getfStandardcontent() {
        return fStandardcontent;
    }

    public void setfStandardcontent(String fStandardcontent) {
        this.fStandardcontent = fStandardcontent;
    }

    public String getfSubstandardcontent() {
        return fSubstandardcontent;
    }

    public void setfSubstandardcontent(String fSubstandardcontent) {
        this.fSubstandardcontent = fSubstandardcontent;
    }

    public String getfDescriptionsubst() {
        return fDescriptionsubst;
    }

    public void setfDescriptionsubst(String fDescriptionsubst) {
        this.fDescriptionsubst = fDescriptionsubst;
    }

    public String getfCauseanalysis() {
        return fCauseanalysis;
    }

    public void setfCauseanalysis(String fCauseanalysis) {
        this.fCauseanalysis = fCauseanalysis;
    }

    public String getfCorrectivemeasures() {
        return fCorrectivemeasures;
    }

    public void setfCorrectivemeasures(String fCorrectivemeasures) {
        this.fCorrectivemeasures = fCorrectivemeasures;
    }

    public String getfCiteoneantithree() {
        return fCiteoneantithree;
    }

    public void setfCiteoneantithree(String fCiteoneantithree) {
        this.fCiteoneantithree = fCiteoneantithree;
    }

    public String getfMemo() {
        return fMemo;
    }

    public void setfMemo(String fMemo) {
        this.fMemo = fMemo;
    }


    public String getRunId() {
        return runId;
    }

    public void setRunId(String runId) {
        this.runId = runId;
    }

    public String getfStatus() {
        return fStatus;
    }

    public void setfStatus(String fStatus) {
        this.fStatus = fStatus;
    }

    public String getAudititemsname() {
        return audititemsname;
    }

    public void setAudititemsname(String audititemsname) {
        this.audititemsname = audititemsname;
    }

    public String getAuditplan() {
        return auditplan;
    }

    public void setAuditplan(String auditplan) {
        this.auditplan = auditplan;
    }

    public String getAuditreport() {
        return auditreport;
    }

    public void setAuditreport(String auditreport) {
        this.auditreport = auditreport;
    }

    @Override
    public String toString() {
        return "WQbdQualitymanage{" +
                "id='" + id + '\'' +
                ", fMemo='" + fMemo + '\'' +
                ", fNameofauditinguni='" + fNameofauditinguni + '\'' +
                ", fTrialunitname='" + fTrialunitname + '\'' +
                ", fTrialunitnameid='" + fTrialunitnameid + '\'' +
                ", fTrialdeptname='" + fTrialdeptname + '\'' +
                ", fTrialdeptnameid='" + fTrialdeptnameid + '\'' +
                ", fAudittime=" + fAudittime +
                ", fAudittype='" + fAudittype + '\'' +
                ", fUnqualifiednature='" + fUnqualifiednature + '\'' +
                ", fAccordingstandar='" + fAccordingstandar + '\'' +
                ", fStandardclause='" + fStandardclause + '\'' +
                ", fSubstandardclauses='" + fSubstandardclauses + '\'' +
                ", fStandardcontent='" + fStandardcontent + '\'' +
                ", fSubstandardcontent='" + fSubstandardcontent + '\'' +
                ", fDescriptionsubst='" + fDescriptionsubst + '\'' +
                ", fCauseanalysis='" + fCauseanalysis + '\'' +
                ", fCorrectivemeasures='" + fCorrectivemeasures + '\'' +
                ", fCiteoneantithree='" + fCiteoneantithree + '\'' +
                ", runId='" + runId + '\'' +
                ", fStatus='" + fStatus + '\'' +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", wQbdQualitymanageSuList='" + wQbdQualitymanageSuList + '\'' +
                '}';
    }
}
